package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.PinkoCurrencyLogMapper;
import com.ruoyi.system.domain.PinkoCurrencyLog;
import com.ruoyi.system.service.IPinkoCurrencyLogService;

/**
 * 币种信息操作日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-07
 */
@Service
public class PinkoCurrencyLogServiceImpl implements IPinkoCurrencyLogService 
{
    @Autowired
    private PinkoCurrencyLogMapper pinkoCurrencyLogMapper;

    /**
     * 查询币种信息操作日志
     * 
     * @param id 币种信息操作日志主键
     * @return 币种信息操作日志
     */
    @Override
    public PinkoCurrencyLog selectPinkoCurrencyLogById(Long id)
    {
        return pinkoCurrencyLogMapper.selectPinkoCurrencyLogById(id);
    }

    /**
     * 查询币种信息操作日志列表
     * 
     * @param pinkoCurrencyLog 币种信息操作日志
     * @return 币种信息操作日志
     */
    @Override
    public List<PinkoCurrencyLog> selectPinkoCurrencyLogList(PinkoCurrencyLog pinkoCurrencyLog)
    {
        return pinkoCurrencyLogMapper.selectPinkoCurrencyLogList(pinkoCurrencyLog);
    }

    /**
     * 新增币种信息操作日志
     * 
     * @param pinkoCurrencyLog 币种信息操作日志
     * @return 结果
     */
    @Override
    public int insertPinkoCurrencyLog(PinkoCurrencyLog pinkoCurrencyLog)
    {
        return pinkoCurrencyLogMapper.insertPinkoCurrencyLog(pinkoCurrencyLog);
    }

    /**
     * 修改币种信息操作日志
     * 
     * @param pinkoCurrencyLog 币种信息操作日志
     * @return 结果
     */
    @Override
    public int updatePinkoCurrencyLog(PinkoCurrencyLog pinkoCurrencyLog)
    {
        return pinkoCurrencyLogMapper.updatePinkoCurrencyLog(pinkoCurrencyLog);
    }

    /**
     * 批量删除币种信息操作日志
     * 
     * @param ids 需要删除的币种信息操作日志主键
     * @return 结果
     */
    @Override
    public int deletePinkoCurrencyLogByIds(Long[] ids)
    {
        return pinkoCurrencyLogMapper.deletePinkoCurrencyLogByIds(ids);
    }

    /**
     * 删除币种信息操作日志信息
     * 
     * @param id 币种信息操作日志主键
     * @return 结果
     */
    @Override
    public int deletePinkoCurrencyLogById(Long id)
    {
        return pinkoCurrencyLogMapper.deletePinkoCurrencyLogById(id);
    }
}
